﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace KPIS.GERP.Models
{
    public class action_history
    {
        public DateTime When { get; set; }
        public rule_approve RuleApprove { get; set; }
        public List<hrm_ps_employees> SendTo { get; set; }
        public hrm_ps_employees Actioner { get; set; }
        public TaskStatus TaskStatusBefore { get; set; }
        public TaskStatus TaskStatusAfter { get; set; }
        
        public action_history()
        {
        }

        public action_history(TaskStatus taskStatusBefore, TaskStatus taskStatusAfter, hrm_ps_employees actioner,
            List<hrm_ps_employees> sendTo, rule_approve ruleApprove )
        {
            TaskStatusBefore = taskStatusBefore;
            TaskStatusAfter = taskStatusAfter;
            When = DateTime.Now;
            Actioner = actioner;
            SendTo = sendTo;
            RuleApprove = ruleApprove;
        }
    }
}
